package com.yugong.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 教师实体类
 *
 * @author yugong
 * @date 2024/2/18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_teacher")
public class Teacher {
    @TableId(value = "teacher_no")
    private String teacherNo;
    @TableField("teacher_name")
    private String teacherName;
    @TableField("teacher_age")
    private Integer teacherAge;
    @TableField("teacher_sex")
    private Integer teacherSex;
    @TableField("teacher_positional_title")
    private String teacherPositionalTitle;
    @TableField("teacher_collage_no")
    private String teacherCollageNo;
    @TableField("teacher_room_no")
    private String teacherRoomNo;
    @TableField("teacher_create_man")
    private String teacherCreateMan;
    @TableField("teacher_create_time")
    private Date teacherCreateTime;
    @TableField("teacher_update_man")
    private String teacherUpdateMan;
    @TableField("teacher_update_time")
    private Date teacherUpdateTime;
}
